package com.ozo.cloud.gen.constant;

import com.ozo.cloud.common.base.constant.BaseEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 页面组件类型枚举
 *
 * @author qiangesoft
 * @date 2024-03-15
 */
@Getter
@RequiredArgsConstructor
public enum HtmlType implements BaseEnum {

    INPUT("input", "输入框"),

    INPUT_NUMBER("inputnumber", "数字输入框"),

    TEXTAREA("textarea", "文本域"),

    SELECT("select", "下拉框"),

    CHECKBOX("checkbox", "复选框"),

    RADIO("radio", "单选框"),

    DATE("date", "日期"),

    DATEtIME("datetime", "时间"),

    SWITCH("switch", "开关");

    /**
     * 编码
     */
    private final String code;

    /**
     * 描述
     */
    private final String desc;

}